<%@ page import="dropouts.Person" %>



<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'email_address', 'error')} ">
	<label for="email_address">
		<g:message code="person.email_address.label" default="Emailaddress" />
		
	</label>
	<g:textField name="email_address" value="${personInstance?.email_address}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: personInstance, field: 'quotation', 'error')} ">
	<label for="quotation">
		<g:message code="person.quotation.label" default="Quotation" />
		
	</label>
	
<ul class="one-to-many">
<g:each in="${personInstance?.quotation?}" var="q">
    <li><g:link controller="quotation" action="show" id="${q.id}">${q?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="quotation" action="create" params="['person.id': personInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'quotation.label', default: 'Quotation')])}</g:link>
</li>
</ul>

</div>

